package com.google.code.msgbooster.model.extension;

import java.util.Set;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;
import com.google.code.msgbooster.model.Meta;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public final class Transponder extends Meta {

	private static final long serialVersionUID = 7120974639127885211L;
	
	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key key;
	
	@Persistent
    private String title;
	
	@Persistent
    private Set<Key> consumer;

	public Key getKey() {
		return key;
	}

	public void setKey(Key key) {
		this.key = key;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Set<Key> getConsumer() {
		return consumer;
	}

	public void setConsumer(Set<Key> consumer) {
		this.consumer = consumer;
	}

}
